cancel.addActionListener(new ActionListener() {
	public void actionPerformed(ActionEvent e) {
		CancelPressed();
	}
});